package com.example.smallmall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author WSGL
 * @since 2020-09-17
 */
@TableName("sp_ads")
public class SpAds implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "ads_id", type = IdType.AUTO)
    private Integer adsId;

    /**
     * 广告名称
     */
    @TableField("ads_name")
    private String adsName;

    /**
     * 广告图片
     */
    @TableField("ads_pic")
    private String adsPic;

    /**
     * 广告位置ID
     */
    @TableField("location_id")
    private Integer locationId;

    /**
     * 广告位置描述
     */
    @TableField("location_describe")
    private String locationDescribe;

    /**
     * 广告路径
     */
    @TableField("ads_url")
    private String adsUrl;

    public Integer getAdsId() {
        return adsId;
    }

    public void setAdsId(Integer adsId) {
        this.adsId = adsId;
    }
    public String getAdsName() {
        return adsName;
    }

    public void setAdsName(String adsName) {
        this.adsName = adsName;
    }
    public String getAdsPic() {
        return adsPic;
    }

    public void setAdsPic(String adsPic) {
        this.adsPic = adsPic;
    }
    public Integer getLocationId() {
        return locationId;
    }

    public void setLocationId(Integer locationId) {
        this.locationId = locationId;
    }
    public String getLocationDescribe() {
        return locationDescribe;
    }

    public void setLocationDescribe(String locationDescribe) {
        this.locationDescribe = locationDescribe;
    }
    public String getAdsUrl() {
        return adsUrl;
    }

    public void setAdsUrl(String adsUrl) {
        this.adsUrl = adsUrl;
    }

    @Override
    public String toString() {
        return "SpAds{" +
            "adsId=" + adsId +
            ", adsName=" + adsName +
            ", adsPic=" + adsPic +
            ", locationId=" + locationId +
            ", locationDescribe=" + locationDescribe +
            ", adsUrl=" + adsUrl +
        "}";
    }
}
